jQuery(document).on("pageinit", "[data-role='page'][data-pagetype='myprofile']", function() {
    var page = jQuery(this);
    var gender = ['女', '男'];

    $.getJSON(URL_ACTION_MY_PROFILE, {email: $.cookie("wia_email")}, function (result) {
        page.find("li.nickname").html("昵称：" + result.nickname)
        .end().find("li.email").html("邮箱：" + result.email)
        .end().find("li.phoneno").html("手机：" + result.phoneno)
        .end().find("li.name").html("姓名：" + result.name)
        .end().find("li.gender").html("性别：" + gender[result.gender])
        .end().find("li.address").html("地址：" + result.address);
    });
});

